package fl.video;

extern class NCManager implements INCManager {
	var DEFAULT_TIMEOUT(default,never) : UInt;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _appName : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _autoSenseBW : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _bitrate : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _connTypeCounter : UInt;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _contentPath : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _fpadMgr : FPADManager;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _fpadZone : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _isRTMP : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _nc : flash.net.NetConnection;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _ncConnected : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _ncUri : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _objectEncoding : UInt;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _owner : VideoPlayer;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _payload : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _portNumber : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _protocol : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _proxyType : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _serverName : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _smilMgr : SMILManager;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _streamHeight : Int;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _streamLength : Float;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _streamName : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _streamWidth : Int;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _streams : Array<Dynamic>;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _timeoutTimer : flash.utils.Timer;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _tryNC : Array<Dynamic>;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _tryNCTimer : flash.utils.Timer;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) var _wrappedURL : String;
	var bitrate : Float;
	var fallbackServerName : String;
	var isRTMP(default,never) : Bool;
	var netConnection(default,never) : flash.net.NetConnection;
	var streamHeight(default,never) : Int;
	var streamLength(default,never) : Float;
	var streamName(default,never) : String;
	var streamWidth(default,never) : Int;
	var timeout : UInt;
	var videoPlayer : VideoPlayer;
	function new() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function _onFMSConnectTimeOut(?p1 : flash.events.TimerEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function bitrateMatch() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function canReuseOldConnection(p1 : ParseResults) : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function cleanConns() : Void;
	function close() : Void;
	function connectAgain() : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function connectFPAD(p1 : String) : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function connectHTTP() : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function connectOnStatus(p1 : flash.events.NetStatusEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function connectRTMP() : Bool;
	function connectToURL(p1 : String) : Bool;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function disconnectOnStatus(p1 : flash.events.NetStatusEvent) : Void;
	function getProperty(p1 : String) : Dynamic;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function getStreamLengthResult(p1 : Float) : Void;
	function helperDone(p1 : Dynamic, p2 : Bool) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function initNCInfo() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function initOtherInfo() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function nextConnect(?p1 : flash.events.TimerEvent) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function onConnected(p1 : flash.net.NetConnection, p2 : Float) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function onReconnected() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function parseURL(p1 : String) : ParseResults;
	function reconnect() : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function reconnectOnStatus(p1 : flash.events.NetStatusEvent) : Void;
	function setProperty(p1 : String, p2 : Dynamic) : Void;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) function tryFallBack() : Void;
	static var SHORT_VERSION(default,never) : String;
	static var VERSION(default,never) : String;
	@:ns(http://www.adobe.com/2007/flash/flvplayback/internal) static function stripFrontAndBackWhiteSpace(p1 : String) : String;
}
